﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:pi="http://schemas.microsoft.com/prototyping/2010/interactivity" xmlns:pc="http://schemas.microsoft.com/prototyping/2010/controls" xmlns:ed="http://schemas.microsoft.com/expression/2010/drawing"
	mc:Ignorable="d"
	x:Class="WOJ_WPF_HCI.Setup"
	Width="640" Height="480">

	<Grid x:Name="LayoutRoot" Background="White" Margin="0,0,229,0">
		<Button Content="Start Game" Height="29" Margin="212,0,0,38" Style="{StaticResource Button-Sketch}" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="104">
			<i:Interaction.Triggers>
				<i:EventTrigger EventName="Click">
					<pi:NavigateToScreenAction TargetScreen="WOJ_WPF_HCI.Game_Board"/>
				</i:EventTrigger>
			</i:Interaction.Triggers>
		</Button>
		<Button Content="Cancel" Height="29" Margin="102,0,203,38" Style="{StaticResource Button-Sketch}" VerticalAlignment="Bottom">
			<i:Interaction.Triggers>
				<i:EventTrigger EventName="Click">
					<pi:NavigateToScreenAction TargetScreen="WOJ_WPF_HCI.Home"/>
				</i:EventTrigger>
			</i:Interaction.Triggers>
		</Button>
		<pc:SketchRectangleUC Margin="38,0,0,86" Style="{StaticResource Rectangle-Sketch}" HorizontalAlignment="Left" Height="38" VerticalAlignment="Bottom" Width="333"/>
		<RadioButton x:Name="easyOpt" Content="Easy" Height="19" Margin="50,0,0,95" Style="{StaticResource RadioButton-Sketch}" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,3.947" HorizontalAlignment="Left" Width="84" GroupName="Difficulty"/>
		<RadioButton x:Name="medOpt" Content="Medium" Height="19" Margin="157,0,0,95" Style="{StaticResource RadioButton-Sketch}" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="94" IsChecked="True" GroupName="Difficulty"/>
		<TextBlock HorizontalAlignment="Left" Height="22" Style="{StaticResource BasicTextBlock-Sketch}" TextWrapping="Wrap" Text="Difficulty" VerticalAlignment="Bottom" Width="67" Foreground="#FF372C2C" OpacityMask="#FFFFF6F6" Margin="50,0,0,124"/>
		<RadioButton x:Name="hardOpt" Content="Hard" Height="19" Margin="280,0,36,95" Style="{StaticResource RadioButton-Sketch}" VerticalAlignment="Bottom" GroupName="Difficulty"/>
		<pc:SketchRectangleUC Margin="37,83,36,157" Style="{StaticResource Rectangle-Sketch}"/>
		<TextBox x:Name="nameP1" Height="39" Margin="148,128,58,0" Style="{StaticResource BasicTextBox-Sketch}" TextWrapping="Wrap" VerticalAlignment="Top" Text=""/>
		<TextBox x:Name="nameP2" Height="35" Margin="148,179,58,0" Style="{StaticResource BasicTextBox-Sketch}" TextWrapping="Wrap" VerticalAlignment="Top"/>
		<TextBox x:Name="nameP3" Margin="148,227,58,215" Style="{StaticResource BasicTextBox-Sketch}" TextWrapping="Wrap" IsReadOnly="{Binding IsChecked, ElementName=twoPlayer}"/>
		<TextBox x:Name="nameP4" Height="35" Margin="148,0,58,171" Style="{StaticResource BasicTextBox-Sketch}" TextWrapping="Wrap" VerticalAlignment="Bottom" IsReadOnly="{Binding IsChecked, ElementName=twoPlayer, Mode=OneWay}"/>
		<TextBlock HorizontalAlignment="Left" Height="39" Margin="46,128,0,0" Style="{StaticResource BasicTextBlock-Sketch}" TextWrapping="Wrap" Text="Contestant 1" VerticalAlignment="Top" Width="96"/>
		<TextBlock HorizontalAlignment="Left" Height="35" Margin="46,179,0,0" Style="{StaticResource BasicTextBlock-Sketch}" TextWrapping="Wrap" VerticalAlignment="Top" Width="96"><Run Text="Contestant "/><Run Text="2"/></TextBlock>
		<TextBlock HorizontalAlignment="Left" Margin="46,227,0,215" Style="{StaticResource BasicTextBlock-Sketch}" TextWrapping="Wrap" Width="96"><Run Text="Contestant "/><Run Text="3"/></TextBlock>
		<TextBlock HorizontalAlignment="Left" Height="35" Margin="46,0,0,171" Style="{StaticResource BasicTextBlock-Sketch}" TextWrapping="Wrap" Text="Contestant 4" VerticalAlignment="Bottom" Width="96"/>
		<TextBlock Height="23" Margin="46,94,0,0" Style="{StaticResource BasicTextBlock-Sketch}" TextWrapping="Wrap" Text="Number of Contestants:" VerticalAlignment="Top" HorizontalAlignment="Left" Width="145"/>
		<RadioButton x:Name="twoPlayer" Content="2" Height="31" Margin="199,93,177,0" Style="{StaticResource RadioButton-Sketch}" VerticalAlignment="Top" IsChecked="True" GroupName="Contestants"/>
		<RadioButton x:Name="threePlayer" Content="3" HorizontalAlignment="Right" Height="31" Margin="0,93,119,0" Style="{StaticResource RadioButton-Sketch}" VerticalAlignment="Top" Width="30" GroupName="Contestants"/>
		<RadioButton x:Name="fourPlayer" Content="4" HorizontalAlignment="Right" Height="31" Margin="0,93,58,0" Style="{StaticResource RadioButton-Sketch}" VerticalAlignment="Top" Width="32" GroupName="Contestants"/>
		<TextBlock HorizontalAlignment="Stretch" Height="42" Margin="37,8,36,0" Style="{StaticResource TitleCenter-Sketch}" TextWrapping="Wrap" Text="Game Setup" VerticalAlignment="Top"/>
		<TextBlock HorizontalAlignment="Left" Height="22" Style="{StaticResource BasicTextBlock-Sketch}" TextWrapping="Wrap" Text="Players" VerticalAlignment="Top" Width="92" Foreground="#FF372C2C" OpacityMask="#FFFFF6F6" Margin="50,61,0,0" RenderTransformOrigin="0.772,0.318"/>
		<ProgressBar Height="0" Margin="42,117,40,0" Style="{StaticResource ProgressBar-Sketch}" VerticalAlignment="Top"/>
		<TextBox HorizontalAlignment="Right" Margin="0,0,-197.744,38" Style="{DynamicResource Note-Sketch}" TextWrapping="Wrap" Text="User can select the number of contestants and difficulty." VerticalAlignment="Bottom" Height="137.933" Width="179.743"/>
	</Grid>
</UserControl>